<template>
  <div class="main-layout">
    <router-view></router-view>
    <NavBar />
  </div>
</template>

<script setup lang="ts">
import NavBar from '@/components/NavBar.vue'
</script>

<style scoped>
.main-layout {
  min-height: calc(100vh - 50px);
  /* padding-bottom: 50px; 为底部导航栏留出空间 */
}
</style> 